package cn.ibizlab.odoo.core.odoo_web_editor.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_web_editor.domain.Web_editor_converter_test;
import cn.ibizlab.odoo.core.odoo_web_editor.filter.Web_editor_converter_testSearchContext;

/**
 * 实体[Web_editor_converter_test] 服务对象接口
 */

public interface IWeb_editor_converter_testService{
     boolean create(Web_editor_converter_test web_editor_converter_test) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     Web_editor_converter_test get(Integer id) ;
     Web_editor_converter_test get(Web_editor_converter_test web_editor_converter_test) ;
     void createBatch(List<Web_editor_converter_test> web_editor_converter_tests, int batchSize) ;
     boolean remove(Integer id) ;
     void updateBatch(List<Web_editor_converter_test> web_editor_converter_tests, int batchSize) ;
     boolean update(Web_editor_converter_test web_editor_converter_test) ;

    /**
     * 查询集合 默认查询
     */
    Page<Web_editor_converter_test> searchDefault(Web_editor_converter_testSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Web_editor_converter_test> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Web_editor_converter_test> selectByOdoo_write(Integer id) ;

    /**
     * 根据Web编辑器转换器子测试查询
     */
     Page<Web_editor_converter_test> selectByOdoo_many2one(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Web_editor_converter_test convert2Domain(cn.ibizlab.odoo.core.client.model.Iweb_editor_converter_test model ,Web_editor_converter_test domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iweb_editor_converter_test convert2Model(Web_editor_converter_test domain , cn.ibizlab.odoo.core.client.model.Iweb_editor_converter_test model);

}
